package com.shoppingmall.service;

import com.shoppingmall.common.ServletResponse;

/**
 * Created by
 *
 * @author touni
 * @date 2019/3/19
 * @time 16:02
 */
public interface CategoryService {


    ServletResponse getCategoryByParentId(Integer categoryId);

    ServletResponse addCategoryByParentId(Integer parentId, String categoryName);

    ServletResponse updateCategoryNameByCategoryId(Integer categoryId, String categoryName);

    ServletResponse getTheSameParentIdByCategoryId(Integer categoryId);
}
